// 员工的规则
import Layout from '@/layout'
export default {
  path: '/employees',
  component: Layout,
  children: [{
    path: '', // 要写就写完整 要不写就空着
    name: 'employees',
    component: () => import('@/views/employees'),
    meta: { title: '员工列表', icon: 'people' }
  }, {
    path: '/employees/detail/:id', // params传参需要做参数占位
    name: 'detail',
    component: () => import('@/views/employees/Detail'),
    hidden: true
    // meta: { title: '查看', icon: 'people' }
  }, {
    path: '/employees/print/:id', // params传参需要做参数占位
    name: 'print',
    component: () => import('@/views/employees/components/Print'),
    hidden: true
    // meta: { title: '查看', icon: 'people' }
  }]
}

